package cn.itcast.bos.crm.service.customer;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

import cn.itcast.bos.domain.bc.customer.Customer;

//   jdk1.6+ 支持注解
@WebService
public interface CustomerService {
	// 查收所有已经关联定客户信息
	@WebMethod
	public List<Customer> findAllAssociationsCustomer();

	// 查收所有未关联定客户信息
	@WebMethod
	public List<Customer> findAllNoAssociationsCustomers();

	// 查收定区关联所有客户信息
	@WebMethod
	public List<Customer> findAllNoAssociationsCustomer(String decidedZone_id);

	// 定区关联客户 更新 decidedZone_id
	@WebMethod
	public void assignCustomersToDecidedZone(Integer[] ids, String decidedZoneId);

	// 业务层实现..///循环更新
	@WebMethod
	public Customer findCustomerByAddress(String pickaddress);

}
